<?php

class OrderController extends Controller {

    public $Module = 'api';
    public $Controller = 'order';
    public $Action = 'index';
    public $UserConfig = array();
    
    public function __construct() {
        
    }

    public function IndexAction() {
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    
    public function UpfileAction() {
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    
    public function InputAction() {
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    /**
     * 待征信查询列表
     */
    public function  CrolistAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_crooprate');
    }
    /**
     * 待初审单提交列表
     */
    public function TrolistAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_trooprate');
    }
    /**
     * 初审单提交
     */
    public function TrosaveAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);

        $this->LoadHelper($this->Module. '/' .$this->Controller.'_trooprate');
    }
    
    public function LogisticsAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    /**
     * 订单申请修改
     */
    public function ModiyAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    /**
     * 订单申请通融
     */
    public function StretchAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    /**
     * 待支付订单列表
     */
    public function WaitpayAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    /**
     * 老系统对接
     */
    public function InterfaceAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    /**
     * 贷后资料上传
     */
    public function AfterattAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_'.$this->Action);
    }
    /**
     * 删除担保人
     */
    public function GuarantorAction(){
        // 赋值
        $this->Config = Config::GetConfig();
        $this->Assign('Config', $this->Config);
        $this->UserConfig = Cookie::GetMember('api');
        $this->Assign('UserConfig', $this->UserConfig);
        
        $this->LoadHelper($this->Module. '/' .$this->Controller.'_trooprate');
    }
}